<div class="large-12 columns">
    <div class="large-4 columns">
        <a href="{base_url()}"> <img alt="TinhNQ.com" src="{base_url()}images/TINHNQLOGO100x50.png"></a>
    </div>
    <div class="off-canvas-wrap">
        <div class="inner-wrap">
            <nav class="tab-bar">
                <section class="left-small">
                    <a class="left-off-canvas-toggle menu-icon"><span></span></a>
                </section>

                <section class="middle tab-bar-section">
                    <h1 class="title">Tử vi năm Giáp Ngọ - 2014</h1>
                </section>
            </nav>
            <aside class="left-off-canvas-menu">
                <ul class="off-canvas-list">
                    <li><label>Các tuổi khác</label></li>
                    {foreach from=$listTitle item=value}
                        <li><a href= "{$value['url']}#main"><span class="icon-arrow-right-5"></span>{$value['ages']|capitalize}</a></li>
                    {/foreach}
              </ul>
            </aside>
            <section class="main-section">
                <div class="metro row">
                    <div class="large-12 columns" style="min-height:500px;">
                    {if isset($data)}
                        <h2 class="metro fg-amber padding20 ntp nbp">{$data['ages']|capitalize}</h2>
                        <div class="small-12">
                            <div class="image-container shadow margin10 small-6">
                                <img src="{base_url()}{$data.image}" alt="{$data.ages}" class="small-6">
                                <div class="overlay-fluid">
                                    Xem tử vi năm Giáp Ngọ 2014 cho {$data.ages}
                                </div>
                            </div>
                        </div>
                        <p class="bg-grayLighter padding20">
                            {nl2br($data['contents'])}
                        </p>
                        <a href="{base_url()}vova/index/#main" class="small-12 radius button fg-white success">Xem Truyện Cười&nbsp;&nbsp;
                            <span class="icon-smiley"></span>
                        </a>
                        <div class="fb-like" data-href="{$current_url}" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div>
                        <div class="fb-comments" data-href="{$current_url}" data-numposts="5" data-colorscheme="light"></div>
                    </p>
                    {else}
                        <h2>Không tồn tại dữ liệu</h2>
                    {/if}
                    </div>
                </div>
            </section>
            <a class="exit-off-canvas"></a>
        </div>
    </div>
</div>